<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
    <PreferenceCategory 
        android:title="Form Layout"
        android:key="form_layout">
        <CheckBoxPreference 
            android:key="ei7"
            android:summary="@string/form_layout_ei7"
            android:title="@string/form_layout_ei7_title" 
        />
        <CheckBoxPreference 
            android:key="stacked"
            android:summary="@string/form_layout_stacked"
            android:title="@string/form_layout_stacked_title"
        />
        <CheckBoxPreference 
            android:key="interview"
            android:summary="@string/form_layout_interview"
            android:title="@string/form_layout_interview_title"
            android:enabled="false"
        />
    </PreferenceCategory>
    <PreferenceCategory 
        android:title="Cloud Synchronization"
        android:key="cloud_sync">
        <EditTextPreference
            android:key="service_name"
            android:title="@string/cloud_sync_srv_name_title" 
            android:summary="@string/cloud_sync_srv_name"
            android:dialogTitle="@string/cloud_sync_srv_name_dialog_title"
            android:dialogMessage="@string/cloud_sync_srv_name_dialog" />
        <EditTextPreference
            android:key="application_key"
            android:title="@string/cloud_sync_app_key_title" 
            android:summary="@string/cloud_sync_app_key"
            android:dialogTitle="@string/cloud_sync_app_key_dialog_title"
            android:dialogMessage="@string/cloud_sync_app_key_dialog" />
        <CheckBoxPreference 
            android:key="sync_up_only"
            android:summary="@string/cloud_sync_up_only"
            android:title="@string/cloud_sync_up_only_title"
        />
        <CheckBoxPreference 
            android:key="sync_up_down"
            android:summary="@string/cloud_sync_up_down"
            android:title="@string/cloud_sync_up_down_title"
        />
        <SwitchPreference
            android:key="cloud_sync_save"
            android:summary="@string/cloud_sync_save"
            android:title="@string/cloud_sync_save_title"/>
        <SwitchPreference
            android:key="cloud_deletion"
            android:summary="@string/cloud_sync_del"
            android:title="@string/cloud_sync_del_title"/>
    </PreferenceCategory>
    <PreferenceCategory
        android:title="@string/samples_title"
        android:key="samples">
        <SwitchPreference
            android:key="sample_forms"
            android:title="@string/samples"/>
    </PreferenceCategory>
    <PreferenceCategory 
        android:title="@string/windows_compatibility"
        android:key="windows">
        <EditTextPreference
            android:key="decimal_symbol"
            android:title="@string/windows_decimal_symbol" 
            android:summary="@string/windows_decimal_symbol_desc"
            android:dialogTitle="@string/windows_decimal_symbol_dialog_title"
            android:dialogMessage="@string/windows_decimal_symbol_dialog" />
    </PreferenceCategory>
    <PreferenceCategory
        android:title="@string/security"
        android:key="security">
        <EditTextPreference
            android:key="admin_password"
            android:summary="@string/admin_pwd"
            android:title="@string/admin_pwd_title"
            android:inputType="textPassword"/>
    </PreferenceCategory>
</PreferenceScreen>